package org.piggy.test.dubbo.function;

import com.alibaba.fastjson2.JSONObject;
import java.util.concurrent.CompletableFuture;

public interface DubboInterface {
    String dubbo1();
    String dubbo2(JSONObject msg);

    default CompletableFuture<String> asyncDubbo1() {
        return CompletableFuture.completedFuture(dubbo1());
    }
}
